package com.tsingxiao.codegenerate.mapper;

import com.tsingxiao.codegenerate.pojo.Demo;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author tqccc
 */
@Repository
public interface DemoMapper extends Mapper<Demo> {

    /**
     * selectAll
     *
     * @return data
     */
    @Override
    List<Demo> selectAll();

    /**
     * saveOne
     *
     * @param o o
     * @return data
     */
    int saveOne(Demo o);
}
